package fr.alma.domo.svc;

import java.util.List;

import org.oasisopen.sca.annotation.Remotable;

import fr.alma.domo.model.Description;
import fr.alma.domo.model.Resource;

/**
 * 
 * @author E055983B
 * Service de decouverte et selection
 */
@Remotable
public interface SelectionAndDiscovery {

	/**
	 * 
	 * @param description
	 * @return
	 */
	public abstract Resource select(Description description);
	
	/**
	 * 
	 * @param familly
	 * @param description
	 * @return
	 */
	public abstract Resource selectByFamily(String family,Description description);
	
	/**
	 * 
	 * @param description
	 * @return
	 */
	public abstract List<Resource> selectAll(Description description);
	
	/**
	 * 
	 * @param family
	 * @param description
	 * @return
	 */
	public abstract List<Resource> selectAllByFamily(String family,Description description);
	
}
